<?
Abstract Class Controller_Base 
{
        protected $registry;

        function __construct($registry) 
        {
            $this->registry = $registry;
			$this->registry['template']->set('campos_site', $this->registry['lingua']->CarregarIdioma());
			$idiomas = $this->registry['lingua']->get_linguas_disponiveis();
			$this->registry['template']->set('idiomas', $idiomas);
        }
        
        abstract function index();
}
?>